<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>Form Elements - Ace Admin</title>

<meta name="description" content="Common form elements and layouts" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<!-- bootstrap & fontawesome -->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/bootstrap.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/font-awesome.min.css" />

<!-- page specific plugin styles -->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/jquery-ui.custom.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/chosen.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/datepicker.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/bootstrap-timepicker.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/daterangepicker.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/bootstrap-datetimepicker.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/colorpicker.css" />

<!-- text fonts -->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/ace-fonts.css" />

<!-- ace styles -->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/ace.min.css"
	id="main-ace-style" />

<!--[if lte IE 9]>
			<link rel="stylesheet" href="<%=request.getContextPath()%>/ace/assets/css/ace-part2.min.css" />
		<![endif]-->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/ace-skins.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/ace-rtl.min.css" />

<!--[if lte IE 9]>
		  <link rel="stylesheet" href="<%=request.getContextPath()%>/ace/assets/css/ace-ie.min.css" />
		<![endif]-->

<!-- inline styles related to this page -->

<!-- ace settings handler -->
<script
	src="<%=request.getContextPath()%>/ace/assets/js/ace-extra.min.js"></script>

<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

<!--[if lte IE 8]>
		<script src="<%=request.getContextPath()%>/ace/assets/js/html5shiv.min.js"></script>
		<script src="<%=request.getContextPath()%>/ace/assets/js/respond.min.js"></script>
		<![endif]-->
</head>

<body class="no-skin">
	<!-- /section:basics/content.breadcrumbs -->
	<%-- <div class="breadcrumbs" id="breadcrumbs">

		<ul class="breadcrumb">
			<li><i class="ace-icon fa fa-home home-icon"></i> <a >当前位置</a>
			</li>

			<li><a href="#" onclick="javascript:history.back(-1);">新闻动态管理</a></li>
			<li class="active">查看</li>
		</ul>
		<!-- /.breadcrumb -->

	</div>--%>
	<div class="page-content">
		<!-- /section:settings.box -->
		<div class="page-content-area">
			<div class="page-header">
				<h1>
					查看新闻动态
				</h1>
			</div>
			<!-- /.page-header -->
						<div class="panel zxlist">
				<div class="panel-heading"><span class="left-line"></span> 新闻信息</div>
				<div class="wt-detail">
					<span>标题:</span>
					<span>${bsbFirmMoving.title}</span>
				</div>
				<div class="wt-detail">
					<span>标签:</span>
					<span>
						<label for="r1"><input type="radio" id="r1" name="lable" value="动态">&nbsp;动态</label>  
						<label for="r2"><input type="radio"  id="r2"name="lable"  value="快讯">&nbsp;快讯</label>  
						<label for="r3"><input type="radio"  id="r3"name="lable" value="活动">&nbsp;活动</label>  
						<label for="r4"><input type="radio" id="r4" name="lable" value="头条">&nbsp;头条</label>  
						<input type="hidden" id="lableId" value="${bsbFirmMoving.lable}" class="col-xs-10 col-sm-5" readonly="readonly"/>
					</span>
				</div>
				<div class="wt-detail">
					<span>排序:</span>
					<span>${bsbFirmMoving.sort} </span>
				</div>
				<div class="wt-detail">
					<span>内容:</span>
					<span>${bsbFirmMoving.content}</span>
				</div>
			</div>
			<%--<div class="row">
				<div class="col-xs-12">
					<!-- PAGE CONTENT BEGINS -->
					<form class="form-horizontal">
					<input type="hidden"  name="queryString" value="${queryString}" />
						<!-- #section:elements.form -->
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 标题: </label>
		
									<div class="col-sm-9">
									<label class="control-label no-padding-left"
										for="form-field-1"> ${bsbFirmMoving.title} </label>
										
									</div>
								</div>
								
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 标签: </label>
		
									<div class="col-sm-9">
									<label for="r1"><input type="radio" id="r1" name="lable" value="动态">&nbsp;动态</label>  
									<label for="r2"><input type="radio"  id="r2"name="lable"  value="快讯">&nbsp;快讯</label>  
									<label for="r3"><input type="radio"  id="r3"name="lable" value="活动">&nbsp;活动</label>  
									<label for="r4"><input type="radio" id="r4" name="lable" value="头条">&nbsp;头条</label>  
									<input type="hidden" id="lableId" value="${bsbFirmMoving.lable}"
											class="col-xs-10 col-sm-5" readonly="readonly"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 排序: </label>
		
									<div class="col-sm-6">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> ${bsbFirmMoving.sort} </label>
									</div>
								</div>
								
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 内容: </label>
		
									<div class="col-sm-9">
										${bsbFirmMoving.content}
									</div>
								</div>
								
								
						<div class="clearfix form-actions">
							<div class="col-md-offset-3 col-md-9">
								<input type="button" class="btn btn-info" type="button" onclick="location.href='<%=request.getContextPath()%>/bsbFirmMoving/toList.do?${queryString}'" value="返回" />
							</div>
						</div>
					</form>

					<!-- PAGE CONTENT ENDS -->
				</div>
				<!-- /.col -->
			</div> --%>
			<!-- /.row -->
			<div class="clearfix form-actions">
				<div class="col-md-offset-3 col-md-9">
					<input type="button" class="btn btn-info" type="button" onclick="location.href='<%=request.getContextPath()%>/bsbFirmMoving/toList.do?${queryString}'" value="返回" />
				</div>
			</div>
		</div>
		<!-- /.page-content-area -->
	</div>
	<!-- /.page-content -->
</body>

<!-- basic scripts -->

<!--[if !IE]> -->
<script type="text/javascript">
	window.jQuery
			|| document
					.write("<script src='<%=request.getContextPath()%>/ace/assets/js/jquery.min.js'>"
							+ "<"+"/script>");
</script>

<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='<%=request.getContextPath()%>/ace/assets/js/jquery1x.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
<script type="text/javascript">
window.onload=function (){

	var lable = $("#lableId").val();
	if(lable=='动态'){
		 $("#r1").attr("checked","checked");
		 $("#r2").attr("disabled","disabled");
		 $("#r3").attr("disabled","disabled");
		 $("#r4").attr("disabled","disabled");
	}else if(lable=='快讯'){
		$("#r2").attr("checked","checked");
		 $("#r1").attr("disabled","disabled");
		 $("#r3").attr("disabled","disabled");
		 $("#r4").attr("disabled","disabled");
	}else if(lable=='活动'){
		 $("#r1").attr("disabled","disabled");
		 $("#r2").attr("disabled","disabled");
		$("#r3").attr("checked","checked");
		 $("#r4").attr("disabled","disabled");
	}else if(lable=='头条'){
		 $("#r1").attr("disabled","disabled");
		 $("#r2").attr("disabled","disabled");
		 $("#r3").attr("disabled","disabled");
		$("#r4").attr("checked","checked");
	}
}
</script>
<script type="text/javascript">
	if ('ontouchstart' in document.documentElement)
		document.write("<script src='<%=request.getContextPath()%>/ace/assets/js/jquery.mobile.custom.min.js'>"+ "<"+"/script>");
</script>

<script
	src="<%=request.getContextPath()%>/ace/assets/js/bootstrap.min.js"></script>

<!-- the following scripts are used in demo only for onpage help and you don't need them -->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/ace.onpage-help.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/docs/assets/js/themes/sunburst.css" />

</html>
